﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Model;
using Business;

namespace WebApi.Controllers
{
    public class AccountController : ApiController
    {

        [HttpGet]
        public ResultModel LogOn(string userName, string password)
        {
            MB.Util.TraceEx.Write(userName, password);
            ResultModel res = new BOrderPick().GetsUerInfo(userName, password);
            return res;
        }
    }
}
